home *** CD-ROM | disk | FTP | other *** search
- on mouseDown
- autoHilite()
- end
-
- on action
- global LcurrentWeight, RcurrentWeight, incCount, tempcount, homeV
- set one to 1
- set tCnt to 0
- repeat with T = 24 to 28
- if the locV of sprite T <> homeV then
- set tCnt to tCnt + 1
- end if
- end repeat
- if tCnt > 1 then
- set one to 0
- end if
- set incCount to incCount + 1
- if LcurrentWeight = RcurrentWeight then
- if tempcount < 3 then
- if one = 1 then
- puppetSprite(2, 0)
- puppetSprite(3, 0)
- puppetSprite(4, 0)
- puppetSprite(6, 0)
- puppetSprite(11, 0)
- puppetSprite(12, 0)
- repeat with T = 14 to 17
- puppetSprite(T, 0)
- end repeat
- repeat with T = 24 to 28
- puppetSprite(T, 0)
- end repeat
- WEASELSpeak("Good Job")
- go("Go back")
- else
- if incCount = 2 then
- go("show triangle")
- else
- WEASELSpeak("try again")
- end if
- end if
- else
- if one = 0 then
- puppetSprite(2, 0)
- puppetSprite(3, 0)
- puppetSprite(4, 0)
- puppetSprite(6, 0)
- puppetSprite(11, 0)
- puppetSprite(12, 0)
- repeat with T = 14 to 17
- puppetSprite(T, 0)
- end repeat
- repeat with T = 24 to 28
- puppetSprite(T, 0)
- end repeat
- WEASELSpeak("Good Job")
- go("Go back")
- else
- if incCount = 2 then
- go("show triangle")
- else
- WEASELSpeak("try again")
- end if
- end if
- end if
- else
- if incCount = 2 then
- go("show triangle")
- else
- WEASELSpeak("try again")
- end if
- end if
- end
-